/*
 * Creado por NIN
 * User: sebastian.lucas
 * Date: 19/04/2007
 * Time: 9:17
 */

using System;

namespace CSE
{
	/// <summary>
	/// Description of Workspace.
	/// </summary>
	public class Workspace
	{
		/*
		 * Constants
		 */
	    public static readonly int TYPE_NONE = 0;
	    public static readonly int TYPE_SPRITE = 1;
	    
	    /*
	     * Variables
	     */
        public static int type = TYPE_NONE;
        
        /*
         * Init
         */
        public static void Init ()
        {
            type = TYPE_NONE;
            
            /*
             * Hardcoded for now
             */
            type = TYPE_SPRITE;
            
            Stage.Init();
        }
        
        /*
         * Shutdown
         */
        public static void Shutdown ()
        {
            if (type != TYPE_NONE)
            {
                Stage.Shutdown();
            }
            
            type = TYPE_NONE;
        }
	}
}
